package challenge;

import java.util.*;

public class WhatDate {
	
	public static void main(String args[]){
		Date date = new Date();
		System.out.println(date);
		Calendar cl = Calendar.getInstance();
		System.out.println(cl);
		System.out.println(cl.get(Calendar.YEAR));
		System.out.println(cl.get(Calendar.MONTH)+1);		
		System.out.println(cl.get(Calendar.DAY_OF_MONTH));		
	}
	
}
